#ifndef _HTTP_RESPONSE_H_
#define _HTTP_RESPONSE_H_

#include <string>
#include <vector>
#include <map>

using namespace std;

class HTTPResponse
{
private:
  int bytes;
  int response;

  string status;
  string protocol_version;

  map<string, string> headers;

  int validate_headers();
public:
  HTTPResponse();
  //  ~HTTPResponse();
  string get_data(bool headers_needed);
  string get_header(string header);
  string build_response(string data);
};
#endif

